export default [
  {
    title: '首页',
    icon: '',
    pathname: 'Dashboard'
  },
  /*  {
      title: '成为供应商',
      icon: '',
      authority:'becomesup',
      pathname: 'Dashboard2'
    },*/
  {
    title: '图库',
    icon: 'icon-gallery',
    authority: 'gallery:manage',
    children: [
      {
        title: '图库设置',
        icon: 'icon-gallery',
        authority: 'gallery:setting:manage',
        children: [
          {
            title: '图库风格',
            icon: 'icon-gallery',
            authority: 'shop:style:manage',
            pathname: 'GalleryGallerySettingGalleryStyle'
          },
          {
            title: '图库首页',
            pathname: 'GalleryGallerySettingGalleryHomePage',
            authority: 'gallery:gallerySetting:galleryHomePage',
            icon: 'icon-gallery'
          },
          {
            title: '图库分类',
            icon: 'icon-gallery',
            authority: 'gallery:gallerySetting:galleryClassify',
            pathname: 'GalleryGallerySettingGalleryClassify'
          },
          {
            title: '案例分类',
            icon: 'icon-gallery',
            authority: 'gallery:gallerySetting:galleryCase',
            pathname: 'GalleryGallerySettingGalleryCase'
          },
          {
            title: '报价设置',
            pathname: 'GalleryGallerySettingPriceSetting',
            authority: 'gallery:gallerySetting:priceSetting',
            icon: 'icon-gallery'
          },
          {
            title: '产品卖点',
            pathname: 'GalleryGallerySettingProductSelling',
            authority: 'sellpoint:manage',
            icon: 'icon-gallery'
          },
          {
            title: '资源包管理',
            pathname: 'GalleryGallerySettingOfflineResourcePackage',
            authority: 'goods:page',
            icon: 'icon-gallery'
          }
        ]
      },
      {
        title: '图库管理',
        icon: 'icon-gallery',
        authority: 'gallery:libraryManagement',
        children: [
          {
            title: '图库列表',
            icon: 'icon-gallery',
            authority: 'gallery:libraryManagement:galleryList',
            pathname: 'GalleryLibraryManagementGalleryList'
          },
          {
            title: '套系产品',
            icon: 'icon-gallery',
            pathname: 'GalleryLibraryManagementSeriesProList',
            authority: '',
          },
        ]
      },
      {
        title: '案例管理',
        icon: 'icon-gallery',
        authority: 'gallery:caseManagement',
        children: [
          {
            title: '案例列表',
            icon: 'icon-gallery',
            authority: 'gallery:caseManagement:caseList',
            pathname: 'GalleryCaseManagementCaseList'
          }
        ]
      },
      {
        title: '内容管理',
        icon: 'icon-gallery',
        authority: 'gallery:contentManagement',
        children: [
          {
            title: '视频管理',
            icon: 'icon-gallery',
            authority: 'gallery:contentManagement:videoManage',
            pathname: 'GalleryContentManagementVideoManage'
          },
          {//标记
            title: '海报管理',
            icon: 'icon-gallery',
            authority: 'poster:manager',
            pathname: 'GalleryContentManagementPosterManage',
            children: [
              {
                title: '海报分类',
                pathname: 'GalleryContentManagementPosterManageClassify',
                authority: 'classify:page',
                icon: 'icon-gallery'
              },
              {
                title: '上传海报',
                pathname: 'GalleryContentManagementPosterManageUpload',
                authority: 'upload:page',
                icon: 'icon-gallery'
              },
              {
                title: '模板海报',
                pathname: 'GalleryContentManagementPosterManageStencils',
                authority: 'stencils:page',
                icon: 'icon-gallery'
              },
              {
                title: '海报分享记录',
                pathname: 'GalleryContentManagementPosterManageShareRecord',
                authority: 'shareRecord:page',
                icon: 'icon-gallery'
              }
            ]
          }
        ]
      },
      {
        title: '财务管理',
        icon: 'icon-gallery',
        authority: 'gallery:financialManagement',
        children: [
          {
            title: '分销员中心',
            icon: 'icon-gallery',
            authority: 'gallery:financialManagement:distribution',
            pathname: 'GalleryFinancialManagementDistribution'
          },
          {
            title: '店铺收入',
            icon: 'icon-gallery',
            authority: 'gallery:financialManagement:shopIncome',
            pathname: 'GalleryFinancialManagementShopIncome'
          },
          {
            title: '分销员详情',
            icon: 'icon-gallery',
            authority: '',
            pathname: 'GalleryFinancialManagementDistributionDistributionDetails'
          },
        ]
      },
    ]
  },
  {
    title: '用户',
    icon: 'icon-staff',
    authority: 'user',
    children: [
      {
        title: '员工管理',
        icon: 'icon-staff',
        authority: 'user:manage',
        children: [
          {
            title: '员工列表',
            icon: 'icon-staff',
            authority: 'user:manage:staffList',
            pathname: 'Staff'
          }
        ]
      }
    ]
  },
  {
    title: '客户',
    icon: 'icon-customer',
    authority: 'guest',
    children: [
      {
        title: '客户管理',
        icon: 'icon-customer',
        authority: 'guest:manage',
        children: [
          {
            title: '浏览记录',
            pathname: 'Customer',
            authority: 'guest:manage:customerDaily',
            icon: 'icon-customer',
          },
          {
            title: '客户列表',
            pathname: 'CustomerList',
            authority: 'guest:manage:customerList',
            icon: 'icon-customer'
          },
          {
            title: '客户列表详情',
            pathname: 'CustomerUserInfo',
            authority: '',
            icon: 'icon-customer'
          },
          {
            title: '标签管理',
            pathname: 'CustomerTagManageTagManage',
            authority: 'guest:manage:customerList',
            icon: 'icon-customer'
          },
          {
            title: '批量导入客户',
            pathname: 'CustomerImportClientsImportClientsList',
            authority: 'external:customer',
            icon: 'icon-customer'
          },
          // {
          //   title: '黑名单管理',
          //   pathname: 'CustomerBlacklistManager',
          //   authority: 'guest:manage:customerList',
          //   icon: 'icon-customer'
          // }

        ]
      },
      {
        title: '积分管理',
        icon: 'icon-customer',
        authority: 'member:integrateconfig',
        children: [
          {
            title: '积分设置',
            pathname: 'CustomerPointsSetting',
            authority: 'member:integrateconfig:modify',
            icon: 'icon-customer',
          }
        ]
      },

      {
        title: '会员管理',
        icon: 'icon-customer',
        authority: 'member:config',
        children: [
          {
            title: '会员设置',
            pathname: 'CustomerVipSettings',
            authority: 'member:config',
            icon: 'icon-customer',
          },
          {
            title: '会员权益',
            pathname: 'CustomerVipRight',
            authority: 'member:benefits',
            icon: 'icon-customer'
          },
          {
            title: '权益卡',
            pathname: 'CustomerRightCardRightCard',
            authority: 'benefits:card',
            icon: 'icon-customer'
          }

        ]
      },
      {
        title: '分销员',
        icon: 'icon-customer',
        authority: 'distributor',
        children: [
          {
            title: '分销员中心',
            pathname: 'CustomerDistributor',
            authority: 'distributor:list',
            icon: 'icon-customer',
          }
        ]
      },
    ]
  },
  {
    title: '订单',
    icon: 'icon-order',
    authority: 'order',
    children: [
      {
        title: '订单服务',
        icon: 'icon-order',
        authority: 'order:manage',
        children: [
          {
            title: '团购列表',
            pathname: 'OrderGroupBargaining',
            icon: 'icon-order',
            authority: 'group:page'
          },
          {
            title: '订单列表',
            pathname: 'OrderList',
            icon: 'icon-order',
            authority: 'order:page'
          },
          {
            title: '订单详情',
            pathname: 'OrderListInfo',
            icon: 'icon-order',
            authority: ''
          },
          {
            title: '订单设置',
            pathname: 'OrderSetUp',
            icon: 'icon-order',
            authority: 'order:goods:info'
          },
          {
            title: '退货管理',
            pathname: 'OrderReturnsManagement',
            icon: 'icon-order',
            authority: 'order:goodsrepairs:page'
          },
          {
            title: '退款管理',
            pathname: 'OrderReturnsMoneyManagement',
            icon: 'icon-order',
            authority: 'order:goodsrepairs:page'
          },
          {
            title: '换货管理',
            pathname: 'OrderReturnsExchangeManagement',
            icon: 'icon-order',
            authority: 'order:goodsrepairs:page'
          }
        ]
      },
      {
        title: '发票管理',
        icon: 'icon-order',
        authority: 'order:invoice',
        children: [
          {
            title: '发票审核',
            pathname: 'OrderInvoice',
            icon: 'icon-order',
            authority: 'order:invoice:check'
          },
        ]
      }
    ]
  },
  {
    title: '商品',
    icon: 'icon-product',
    authority: 'product',
    children: [
      {
        title: '商品管理',
        icon: 'icon-product',
        authority: 'product',
        children: [
          {
            title: '商品库',
            pathname: 'ProductCommodityManageCommodityLibrary',
            icon: 'icon-product',
            authority: 'goods:repository:page',
          },
          {
            title: '商品管理',
            pathname: 'ProductCommodityManageCommodityManage',
            authority: 'goods',
            icon: 'icon-product'

          },
          {
            title: '商品分类',
            pathname: 'ProductDivision',
            authority: 'goods:classify',
            icon: 'icon-product'
          },
          {
            title: '商品规格',
            pathname: 'ProductSpecifications',
            authority: 'goods:modelnorm',
            icon: 'icon-product'
          },
          {
            title: '商品分组',
            pathname: 'ProductCommodityManageCommodityGroup',
            authority: 'goods:group:manage',
            icon: 'icon-product'
          },
        ]
      },
      // {
      //   title: '商品分组',
      //   icon: 'icon-product',
      //   authority: 'product',
      //   children: [
      //     {
      //       title: '商品分组',
      //       pathname: 'ProductCommodityManageCommodityGroup',
      //       authority: 'goods:group:manage',
      //       icon: 'icon-product'
      //     }
      //   ]
      // },
      {
        title: '地址管理',
        icon: 'icon-product',
        authority: 'address',
        children: [
          {
            title: '地址管理',
            pathname: 'ProductAddressManage',
            authority: 'address:config:manage',
            icon: 'icon-product'
          }
        ]
      },
      // 商品回收站
      {
        title: '商品回收站',
        icon: 'icon-product',
        authority: 'product:recycle',
        children: [
          {
            title: '商品回收站',
            pathname: 'ProductRecycleManage',
            authority: 'product:recycle:manage',
            icon: 'icon-product'
          }
        ]
      },
      // 商品评价
      {
        title: '商品评价',
        icon: 'icon-product',
        authority: 'product:appraise',
        children: [
          {
            title: '商品评价',
            pathname: 'ProductAppraiseManage',
            authority: 'product:reviews:manage',
            icon: 'icon-product'
          }
        ]
      },

      {
        title: '运费模板',
        icon: 'icon-product',
        authority: 'freight:template',
        children: [
          {
            title: '运费模板',
            pathname: 'ProductFreightTemplate',
            authority: 'fare:model:manage',
            icon: 'icon-product'
          }
        ]
      },
      // {
      //   title: '商品分类',
      //   icon: 'icon-product',
      //   authority: 'goods:classify',
      //   children: [
      //     {
      //       title: '商品分类',
      //       pathname: 'ProductDivision',
      //       authority: 'goods:classify',
      //       icon: 'icon-product'
      //     }
      //   ]
      // },
      // {
      //   title: '商品规格',
      //   icon: 'icon-product',
      //   authority: 'goods:modelnorm',
      //   children: [
      //     {
      //       title: '商品规格',
      //       pathname: 'ProductSpecifications',
      //       authority: 'goods:modelnorm',
      //       icon: 'icon-product'
      //     }
      //   ]
      // },
      {
        title: '供应商管理',
        icon: 'icon-product',
        authority: 'supplier:manage',
        children: [
          {
            title: '供应商',
            pathname: 'ProductSupplierManage',
            authority: 'supplier:list',
            icon: 'icon-product'
          }
        ]
      },
      {
        title: '分销商管理',
        icon: 'icon-product',
        authority: 'distributor:manage',
        children: [
          {
            title: '分销商',
            pathname: 'ProductDistributorManage',
            authority: 'distributor:page',
            icon: 'icon-product'
          }
        ]
      }
    ]
  },
  {
    // title: '微页面',
    // pathname: 'ShopCustomDecorateMicroPageMicroPageList',
    // authority: 'shop:customDecorate:microPage',
    // icon: 'apartment'
  },
  {
    title: '店铺',
    icon: 'icon-shop',
    authority: 'shop',
    children: [
      {
        title: '个性装修',
        icon: 'icon-shop',
        authority: 'shop:customDecorate',
        children: [
          {
            title: '微页面',
            pathname: 'ShopCustomDecorateMicroPageMicroPageList',
            authority: 'shop:customDecorate:microPage',
            icon: 'icon-shop'
          },
          {
            title: '店铺导航',
            pathname: 'ShopCustomDecorateNavigation',
            authority: 'shop:customDecorate:navigation',
            icon: 'icon-shop'
          }
        ]
      },
      {
        title: '系统页面',
        icon: 'icon-shop',
        authority: 'shop:system',
        children: [
          {
            title: '搜索页面',
            pathname: 'ShopSystemSearch',
            authority: 'shop:system:search',
            icon: 'icon-shop'
          },
          {
            title: '个人中心',
            pathname: 'ShopSystemPersonal',
            authority: 'shop:system:personal',
            icon: 'icon-shop'
          },
          {
            title: '分享设置',
            pathname: 'ShopSystemShareSetting',
            authority: 'shop:system:shareSetting',
            icon: 'icon-shop'
          },
          {
            title: '会员中心',
            pathname: 'ShopSystemMembersCenter',
            authority: 'shop:system:membersCenter',
            icon: 'icon-shop'
          },
          {
            title: '分类设置',
            pathname: 'ShopSystemDivisionSetting',
            authority: 'shop:system:divisionSetting',
            icon: 'icon-shop'
          }
        ]
      },
      {
        title: '素材管理',
        icon: 'icon-shop',
        authority: 'material',
        children: [
          {
            title: '素材中心',
            pathname: 'ShopMaterial',
            authority: 'material',
            icon: 'icon-shop',
          }
        ]
      },
      {
        title: '文章管理',
        authority: 'articles:manager',
        icon: 'icon-shop',
        children: [
          {
            title: '文章列表',
            pathname: 'ShopArticle',
            authority: 'articles:page',
            icon: 'icon-shop',
          }
        ]
      }
    ]
  },
  // 旧资产，废弃
  // {
  //   title: '资产',
  //   icon: 'home',
  //   authority: 'money',
  //   children: [
  //     {
  //       title: '资产总览',
  //       authority: 'money:overview:manager',
  //       pathname: 'MoneyOverview'
  //     },
  //     {
  //       title: '银行卡管理',
  //       authority: 'money:overview:manager',
  //       hide: true,
  //       pathname: 'MoneyOverviewBankCards'
  //     },
  //     {
  //       title: '我的账户',
  //       authority: 'money:account',
  //       children: [
  //         {
  //           title: '店铺余额',
  //           pathname: 'MoneyAccountShopBalance',
  //           authority: 'money:shopBalance:manage'
  //         },
  //       /*  {
  //           title: '店铺余额2',
  //           pathname: 'MoneyAccountShopBalance2',
  //           authority: 'money:shopBalance:manage'
  //         }*/
  //       ]
  //     },
  //     {
  //       title: '资金对账',
  //       authority: 'money:reconciliation',
  //       children: [
  //         {
  //           title: '对账单明细',
  //           pathname: 'MoneyReconciliation',
  //           authority: 'money:reconciliation:manage'
  //         },
  //         {
  //           title: '提现手续费',
  //           pathname: 'MoneyReconciliationWithdrawalFee',
  //           authority: 'money'
  //         },
  //         {
  //           title: '交易手续费',
  //           pathname: 'MoneyReconciliationTransactionFee',
  //           authority: 'money'
  //         },
  //         {
  //           title: '分户账户',
  //           pathname: 'MoneyReconciliationDivideAccount',
  //           authority: 'money'
  //         },
  //       ]
  //     }
  //   ]
  // },
  {
    title: '资产',
    icon: 'icon-property',
    authority: 'property',
    children: [
      {
        title: '资产总览',
        authority: 'property:overview',
        children: [
          {
            title: '店铺余额',
            pathname: 'PropertyOverviewShopBalance',
            authority: 'shop:balance',
            icon: 'icon-property'
          },
          {
            title: '对账单明细',
            pathname: 'PropertyOverviewAccountDetail',
            authority: 'account:detail',
            icon: 'icon-property'
          },
          {
            title: '提现审核',
            pathname: 'PropertyOverviewWithdrawAudit',
            authority: 'withdraw:audit',
            icon: 'icon-property'
          },
        ]
      },
    ]
  },
  {
    title: '营销',
    icon: 'icon-marketing',
    authority: 'equity',
    children: [
      {
        title: '营销管理',
        icon: 'icon-marketing',
        authority: 'equity:manager',
        children: [
          {
            title: '优惠券管理',
            pathname: 'MarketingCoupon',
            authority: 'equity:manager:tagManager',
            icon: 'icon-marketing'
          },
          {
            title: '营销活动',
            pathname: 'MarketingCampaign',
            authority: 'marketing:activity:page',
            icon: 'icon-marketing'
          },
          {
            title: '拼团管理',
            pathname: 'MarketingGroupBargaining',
            authority: 'group:activity:page',
            icon: 'icon-marketing'
          },
          {
            title: '秒杀管理',
            pathname: 'MarketingSeckill',
            authority: 'seckill:activity:page',
            icon: 'icon-marketing'
          },
          {
            title: '限时折扣',
            pathname: 'MarketingDiscount',
            authority: 'discount:activity:page',
            icon: 'icon-marketing'
          },
          {
            title: '抽奖管理',
            pathname: 'MarketingLottery',
            icon: 'icon-marketing',
            authority: 'lottery:manager:page'
          },
          {
            title: '抽奖数据',
            pathname: 'MarketingLotteryPageActiveData',
            icon: 'icon-marketing',
            authority: ''
          },
          {
            title: '抽奖兑换记录',
            pathname: 'MarketingLotteryPageExchangeList',
            icon: 'icon-marketing',
            authority: ''
          },
          {
            title: '赠品管理',
            pathname: 'MarketingGiveaway',
            icon: 'icon-marketing',
            authority: 'equity:manager',
          },
          {
            title: '自建商品',
            pathname: 'MarketingSelfCreateGood',
            icon: 'icon-marketing',
            authority: 'equity:manager',
          }
        ]
      },
      {
        title: '直播管理',
        icon: 'icon-marketing',
        authority: 'live:manager',
        children: [
          {
            title: '直播间管理',
            pathname: 'MarketingLiveRoom',
            authority: 'room:page',
            icon: 'icon-marketing'
          },
          {
            title: '主播管理',
            pathname: 'MarketingLiveAnchor',
            authority: 'user:page',
            icon: 'icon-marketing'
          },
          {
            title: '商品管理',
            pathname: 'MarketingLiveCommodity',
            authority: 'product:page',
            icon: 'icon-marketing'
          },
          {
            title: '分享统计',
            pathname: 'MarketingLiveSharing',
            authority: 'sharing:page',
            icon: 'icon-marketing'
          }
        ]
      },
      {
        title: '活动管理',
        icon: 'icon-marketing',
        authority: 'activity:manager',
        children: [
          {
            title: '售卡活动',
            pathname: 'MarketingSellCard',
            authority: 'card:page',
            icon: 'icon-marketing'
          },
          {
            title: '退款审核',
            pathname: 'MarketingSellCardRefundManage',
            authority: 'refund:page',
            icon: 'icon-marketing'
          },
          {
            title: '查看订单',
            pathname: 'MarketingSellCardOrderList',
            authority: '',
            icon: 'icon-marketing'
          },
          {
            title: '活动订单',
            pathname: 'MarketingSellCardActiveOrder',
            authority: 'cardOrder:page',
            icon: 'icon-marketing'
          },
        ]
      }
    ]
  },
  {
    title: '数据',
    icon: 'icon-dataPanel',
    authority: 'data:panel',
    children: [
      {
        title: '数据概况',
        icon: 'icon-dataPanel',
        authority: 'data:profiling',
        pathname: 'DataPanelDataProfiling',
      },
      {
        title: '数据报表',
        icon: 'icon-dataPanel',
        authority: 'data:statement',
        children: [
          {
            title: '经营报表',
            pathname: 'DataPanelOperations',
            authority: 'operations:statement',
            icon: 'icon-dataPanel'
          },
        ]
      },
    ]
  }
]
